package com.sy.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sy.entity.Member;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * description: MemberDto <br>
 * date: 2022/6/25 5:49 PM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */

@Data
public class MemberDto {
    private Integer id;
    private String userName;
    private Long userPhone;
    private BigDecimal balance;
    private String password;
    private String photo;
    private Integer sexId;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date birth;
    private List<Member> memberList;
    private Long memberTotal;
    String payPassword;
}
